//
//  MyCustomAlert.swift
//  ZNZXSuperMarket
//
//  Created by 四川中农 on 2018/9/5.
//  Copyright © 2018年 四川中农. All rights reserved.
//

import UIKit

class MyCustomAlert: UIView {
    
    @IBOutlet weak var titleLabel: UILabel!
    var leftClosure:TouchBlock!
    var rightClosure:TouchBlock!
    
    @IBAction func leftButtonMethod(_ sender: UIButton) {
        if self.leftClosure != nil {
            self.leftClosure()
        }
    }
    
    @IBAction func rightButtonMethod(_ sender: UIButton) {
        if self.rightClosure != nil {
            self.rightClosure()
        }
    }

}
